/*C02: Fillvector.cpp
 *Copy and entire file into a vector of string
 * */
#include <string>
#include <iostream>
#include <fstream>
#include <vector>

using namespace std;
int main()
{
	vector<string> v;
	ifstream in("Fillvector.cpp");
	string line;
	while(getline(in, line))
		v.push_back(line);	//Add the line to the end
    //Add line numbers
	for(int i = 0; i < v.size(); i++)
    {
		cout << i << ": " << v[i] << endl;
	}		
	return 0;
}

